The function of governments which ensures the protection of citizens, persons in their territory, organizations, and institutions against threats to their well-being.